//
//  EventSystem.h
//  Monster_Martial_Arts_Version_0
//
//  Created by bk on 13/1/6.
//  Copyright (c) 2013年 __MyCompanyName__. All rights reserved.
//

#ifndef Monster_Martial_Arts_Version_0_EventSystem_h
#define Monster_Martial_Arts_Version_0_EventSystem_h

#include "Singleton.h"
//#include "IEventListener.h"

class IEventListener;
class CBattleObject;
class CEventSystem : public Singleton<CEventSystem>
{
public:
    
    struct sBaseEvent
    {
    
        int                 m_eventType;
        CBattleObject*      m_Instigator;
        CBattleObject*      m_pActivator;
        
        enum BaseEventClassType
        {
            BECT_BaseEventType,
        };
    
        virtual BaseEventClassType GetClassType() const
        {
            return BECT_BaseEventType;
        }
    };
    
    CEventSystem();
    ~CEventSystem();
    
    virtual void Init();
    
};

#endif
